package Xipai;

//定义牌，定义数字和花色
public class Card {
    public String suit; //花色
    public int rank; //数字

    public Card() {

    }

    public Card(String suit, int rank) {
        this.suit = suit;
        this.rank = rank;
    }

    @Override
    public String toString() {
        return "{" +
                suit + " " +
                rank +
                '}';
    }
}
